package com.wbcs.system.inputbox.option;

import java.util.List;
import java.util.Map;

import com.wbcs.system.ReportRequest;

public abstract class AbsOptionDatasource implements Cloneable
{
    protected AbsOptionBean ownerOptionBean;

    public void setOwnerOptionBean(AbsOptionBean ownerOptionBean)
    {
        this.ownerOptionBean=ownerOptionBean;
    }

    public AbsOptionBean getOwnerOptionBean()
    {
        return ownerOptionBean;
    }

    public List<Map<String,String>> getLstSelectBoxOptions(ReportRequest rrequest,Map<String,String> mParentInputboxValues)
    {
        return null;
    }
    
    public List<Map<String,String>> getLstTypePromptOptions(ReportRequest rrequest,String txtValue)
    {
        return null;
    }
    
    public void doPostLoad()
    {}

    @Override
	protected Object clone() throws CloneNotSupportedException
    {
        return super.clone();
    }

    protected AbsOptionDatasource clone(AbsOptionBean newOwnerOptionBean) throws CloneNotSupportedException
    {
        AbsOptionDatasource newdatasourceBean=(AbsOptionDatasource)clone();
        newdatasourceBean.ownerOptionBean=newOwnerOptionBean;
        return newdatasourceBean;
    }
}
